package com.itheima.servlets.service;

import com.itheima.servlets.domain.Student;
import com.itheima.servlets.domain.User;

import java.io.IOException;
import java.util.ArrayList;

/*
    业务层接口
 */
public interface UserService {
    //登录方法(用户名和密码)
    User login(String username,String pwd) throws Exception;

    //添加学生信息
    void addStudent(Student stu) throws IOException;

    //查看学生信息
    void findStudent(ArrayList<Student> list) throws IOException;
}
